<template>
  <a-config-provider :locale="locale">
    <div id="app">
      <router-view />
    </div>
  </a-config-provider>
</template>

<script>
import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN'
import { AppDeviceEnquire } from '@/utils/mixin'
export default {
  mixins: [AppDeviceEnquire],
  data () {
    return {
      locale: zhCN
    }
  },
  mounted () { }
}
</script>
<style lang="less">
.ant-modal-content {
  .ant-modal-header {
    padding: 13px 21px;
    background: @primary-color;
    .ant-modal-title {
      color: #ffffff;
    }
  }
  .ant-modal-close {
    .ant-modal-close-x {
      width: 49px;
      height: 49px;
      color: #ffffff;
      line-height: 49px;
    }
  }
}

.ant-table-tbody > tr.ant-table-row-selected td.ant-table-cell {
  background: #fffde7;
}
.bg-zebra-pattern {
  background-color: rgba(231, 234, 237, 0.5);
}
.wrapper {
  padding: 0 10px;
}
.ant-menu-inline .ant-menu-item::after {
  border-right: none !important;
}
/deep/.ant-menu:not(.ant-menu-horizontal) {
  .ant-menu-item-selected {
    // background-color: #3b5998;
  }
}
.ant-table {
  &.ant-table-small {
    // .ant-table-thead {
    //   background-color: #3b5998;
    // }
    .ant-table-tbody {
      font-size: 12px;
    }
    .ant-table-column-title {
      color: #ffffff;
    }
    .ant-table-content {
      .ant-table-body {
        margin: 0;
      }
    }
  }
  .ant-table-tbody > tr.ant-table-row-selected td {
    color: inherit;
    background: #fffde7;
  }
}
.ant-table-header-column {
  font-weight: bold;
}
.ant-pagination {
  .ant-pagination-item-active {
    background-color: @primary-color;
    :first-child {
      color: #ffffff;
    }
  }
  .ant-pagination-item {
    border-radius: 50%;
  }
}
::-webkit-scrollbar {
  width: 6px;
  height: 10px;
  /**/
}
::-webkit-scrollbar-track {
  background: rgb(239, 239, 239);
  border-radius: 2px;
}
::-webkit-scrollbar-thumb {
  background: #bfbfbf;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #333;
}
::-webkit-scrollbar-corner {
  background: #179a16;
}

.ant-badge-status-success:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #52c41a;
  border-radius: 50%;
  -webkit-animation: antStatusProcessing 1.2s ease-in-out infinite;
  animation: antStatusProcessing 1.2s ease-in-out infinite;
  content: '';
}
.ant-badge-status-error:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #f5222d;
  border-radius: 50%;
  -webkit-animation: antStatusProcessing 1.2s ease-in-out infinite;
  animation: antStatusProcessing 1.2s ease-in-out infinite;
  content: '';
}
.ant-badge-status-warning:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #faad14;
  border-radius: 50%;
  -webkit-animation: antStatusProcessing 1.2s ease-in-out infinite;
  animation: antStatusProcessing 1.2s ease-in-out infinite;
  content: '';
}
.ant-badge-status-default:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 50%;
  -webkit-animation: antStatusProcessing 1.2s ease-in-out infinite;
  animation: antStatusProcessing 1.2s ease-in-out infinite;
  content: '';
}
</style>
